package gat.domain.model.tg;

import com.bitsun.core.framwork.domain.model.Entity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;


/**
 * 
 * @Author: yanshukeji-java
 * @Email: yanshukeji-java
 */
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode
@Data
public class AccountOrderEntity  implements Entity<AccountOrderEntity>{


        /**
         * 主键 BIGINT
         */
        private Long id;
        /**
         * 订单号 VARCHAR
         */
        private String orderNo;
        /**
         * 订单金额 BIGINT
         */
        private Long orderAmount;
        /**
         * 订单状态 INT
         */
        private Integer orderStatus;
        /**
         * 订单随机金额 BIGINT
         */
        private Long orderRandomAmount;
        /**
         * 购买账号厂商 VARCHAR
         */
        private String accountSupplier;
        /**
         * 账号id VARCHAR
         */
        private String accountId;
        /**
         * 订单类型 分配账号订单 充值订单 INT
         */
        private Integer orderType;
        /**
         * 支付时间 TIMESTAMP
         */
        private LocalDateTime payTime;
        /**
         * 会话id VARCHAR
         */
        private String chatId;
        /**
         * tg用户id VARCHAR
         */
        private String tgUserId;
        /**
         * tg用户名 VARCHAR
         */
        private String tgUserName;
        /**
         * 会话类型 VARCHAR
         */
        private String chatType;
        /**
         * 主账号id VARCHAR
         */
        private String primaryUid;

        private LocalDateTime createTime;

        private String botId;

        // 折扣
        private Long discount;

        // 原价
        private Long originalPrice;
}






